//
//  ZBBaseDebugView.h
//  DevDemo
//
//  Created by BO ZHOU on 2021/5/6.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

static inline NSString* SelfBundle() {
    return [[NSBundle bundleForClass:NSClassFromString(@"ZBBaseDebugView")] pathForResource:@"ZBDebugRoundResource.bundle" ofType:nil];
}



@interface ZBBaseDebugView : UIView

/** 是否开启, 默认不开启 */
@property (nonatomic, assign) bool isOpen;

/// 宽高(收起)
@property (nonatomic, assign) CGFloat wh;

/// 宽高(展开)`
@property (nonatomic, assign) CGFloat expandWH;

/// 收起状态偏移距屏幕边缘距离
@property (nonatomic, assign) CGFloat edgeMargin;

/// 是否展开
@property (nonatomic, assign) bool isExpande;

+(instancetype)shared;

+(void)show;

+(void)hide;

+(BOOL)isOpen;

/// 动画展开结束 (子类实现)
-(void)expandDidComplete;

@end

NS_ASSUME_NONNULL_END
